<template>
	<view class="pageWrapper">
		<image class="bgImg" src="@/static/images/home/home_bg.png" mode=""></image>
		<custom-navbar title="激活" :bgColor="bgColor"></custom-navbar>
		<view class="infoArea">
			<image class="areaImg" src="@/static/images/home/area_img.png" mode=""></image>
			<view class="areaTitle">
				激活渠道产品
			</view>
			<input class="iptBox" type="text" v-model="codeValue" placeholder="请输入兑换码" />
			<view class="submitBtn">
				激活
			</view>
			<view class="tipText">
				激活规则
			</view>
		</view>
	</view>
</template>

<script>
	import api from '@/api/api.js'
	import configSet from '@/config'
	export default {
		data () {
			return {
				bgColor: 'transparent',
				codeValue:''
			}
		},
		onLoad() {
			
		},
		methods: {
		}
	}
</script>

<style lang="scss" scoped>
	.pageWrapper {
		.bgImg {
			position: absolute;
			display: block;
			width: 100vw;
			height: 100vh;
			z-index: -1;
		}
		.infoArea {
			margin: 280rpx auto 0;
			padding: 74rpx 48rpx;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			width: 630rpx;
			height: 657rpx;
			background: #ffffff;
			border: 1px solid #707070;
			border-radius: 20rpx;
			box-shadow: 0 0 0 16rpx rgba(6,145,255,.6);
			.areaImg {
				width: 206rpx;
				height: 129rpx;
				opacity: 0.73;
			}
			.areaTitle {
				margin-top: 20rpx;
				font-size: 30rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				text-align: right;
				color: #1a1a1a;
				line-height: 30rpx;
			}
			.iptBox,
			.submitBtn {
				margin-top:40rpx;
				width: 100%;
				height: 86rpx;
				line-height: 86rpx;
				border: 1px solid #cccccc;
				border-radius: 44rpx;
				text-align: center;
			}
			.iptBox {
				background: #ffffff;
			}
			.submitBtn {
				background: #063078;
				color: #FFF;
			}
			.tipText {
				margin-top: 40rpx;
				font-size: 24rpx;
				color: #063078;
			}
		}
	}
</style>